package com.DataFactory.TaskManagement.converter;


import com.DataFactory.TaskManagement.model.bo.TaskArrangeBO;
import com.DataFactory.TaskManagement.model.entity.TaskArrangement;
import com.DataFactory.TaskManagement.model.form.TaskArrangementForm;
import com.DataFactory.TaskManagement.model.vo.TaskArrangementPageVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.mapstruct.Mapper;

/**
 * @author shumm
 * @Description
 * @since 2024-03-27 21:35
 */
@Mapper(componentModel = "spring")
public interface TaskArrangeConverter {
    Page<TaskArrangementPageVO> bo2vo(Page<TaskArrangeBO> boPage);

    TaskArrangementPageVO bo2vo(TaskArrangeBO bo);

    TaskArrangement form2entity(TaskArrangementForm form);
}
